<template>
	<view>
		<view class="u-flex u-font-18 u-flex-center u-p-t-80">
			ASMR | 登录
		</view>
		<view class="u-flex  u-flex-center u-flex-column u-m-t-60">
			<view class="u-p-l-40 u-p-r-40">
				<u--input :color="inputColor" placeholder="邮箱" border="surround" v-model="eamil" ></u--input>
			</view>
			<view class="u-p-l-40 u-p-r-40 u-m-t-40">
				<u--input :color="inputColor" placeholder="密码" border="surround" v-model="password" ></u--input>
			</view>
		</view>

		<view class=" u-m-t-50 u-wdd-90 u-he-90 u-font-15 u-lihe-90 b-r-10 u-m-auto text-center" style="background-color: #ff3b2b;">
			立即登录
		</view>
		<view class="u-flex u-p-l-40 u-p-r-40 u-m-t-30  u-flex-between u-flex-y-center">
			<view class="u-font-13" @click="handle('pages/register')">
				还没有账号？立即注册
			</view>
			<view class="u-font-13" @click="handle('pages/forget')"  >
				找回密码
			</view>
		</view> 
	</view>
</template>

<script>
	export default{
		data() {
			return {
				eamil: '',
				password: '',
				inputColor:'white'
			}
		},
		methods:{
			handle(path){
				uni.$u.route(path)
			}
		}
	}
</script>

<style>
</style>